This folder contains the codes and datasets required to replicate the results in Klocek, Ha, and Sumaktoyo's Regime Change and Religious Discrimination after the Arab Uprisings.

Explanation of files and folders:

* "Prepare for R.do" creates the CSV file that serves as the input for the R codes. This is the first file that one wants to run to recreate the results.

* The folder "Datasets" contains different datasets used in the analysis.

* The folder "Main Analysis_ Regime Change v Non-Major" contains the code and results for the main analysis.

* The folders "Appendix A4_ Robustness - In Space" and "Appendix A4_ Robustness - In Time" contain the code and results for the in-space and in-time robustness checks of the main analysis. These correspond to results presented in Appendix A4 of the Online Appendix.

* The folder "Appendix A5_ Regime Change v Muslim Non-Major" contains the code and results presented as Appendix A5 in the Online Appendix. The analysis compares the regime change countries to Muslim-majority countries.

* The folder "Appendix A6_ Major Protests v Non-Major" contains the code and results presented as Appendix A6 in the Online Appendix. The analysis uses major protests (as opposed to regime chang) as the treatment.

* The folder "Appendix A7_ Descriptive Plots" contains the code to produce descriptive figures of the governmental and societal discrimination of religion in the four regime change countries.
